'''
2024年1月27日中控数据匹配
'''
sysw = r"上游.*?：(.*?)下游"
xysw = r"下游.*?：(.*?)下游"
xyqwjqsw = r"清污机.*?：(.*?)瞬时"
ssll = r"瞬时.*?：(.*?)平均"
pjls = r"平均流速(.*?)35kV"
#35kV进线开关柜Ia1.6AP90kQ-4kVarcOSP1.00所变
kv35jxg_Ia = r'35.*?开关柜Ia(.*?)A'
kv35jxg_P = r'35.*?AP(.*?)k'
kv35jxg_Q = r'35.*?kQ(.*?)k'
kv35jxg_cos = r'35.*?OSP(.*?)所变'
# 所变进线开关柜Ia1.5AP88Q0kVarcOSP1.00主变
sbjxkgg_Ia = r'所.*?a(.*?)A'
sbjxkgg_P = r'所.*?P(.*?)Q'
sbjxkgg_Q = r'所.*?Q(.*?)k'
sbjxkgg_cos = r'所.*?OSP(.*?)主'
# 主变进线开关柜Ia1.3P0kQQkVarcOSY1.00母线
zbjxkgg_Ia = r'主.*?Ia(.*?)P'
zbjxkgg_P = r'主.*?P(.*?)k'
zbjxkgg_Q = r'主.*?Q(.*?)k'  #有问题
zbjxkgg_cos = r'主.*?OSY(.*?)母'
# 母线电压Uab0.0kVUbc0.0kVUca0.0kVTMY-100*106kVI段母线电压Uab0.0kVUbc0.0kVUca0.0kV6016kV进线
# 匹配到两个
# ['0.4', '0.1']
# ['0.5', '0.2']
# ['0.6', '0.3']
mxdy_Uab = r'母线.*?Uab(.*?)kV'
mxdy_Ubc = r'母线.*?Ubc(.*?)kV'
mxdy_Uca = r'母线.*?Uca(.*?)kV'
# '6016kV进线开关柜0.0P0kQ0kVarCOS1.00631'
jxkgg601_Ia = r'601.*?进线.*?柜(.*?)P'
jxkgg601_P = r'601.*?进线.*?P(.*?)k'
jxkgg601_Q = r'601.*?进线.*?Q(.*?)k'
jxkgg601_cos = r'601.*?进线.*?OS(.*?)631'
# 631站变高压开关柜1a0.4AP0QQkVarCOS1.00621
zbgykgg631_Ia = r'631站.*?a(.*?)A'
zbgykgg631_P = r'631站.*?P(.*?)Q'
zbgykgg631_Q = r'631站.*?Q(.*?)kVar'  #有问题
zbgykgg631_cos = r'631站.*?S(.*?)621'
